package com.xuecheng.base.exception;

/**
 * @author: Hes
 * @description 错误响应参数包装
 * @date: 2023/6/20 17:03
 */

public class RestErrorResponse {
    private String errMessage;
    private String code;

    public RestErrorResponse(String errMessage) {
        this.errMessage = errMessage;

    }

    public String getErrMessage() {
        return errMessage;
    }

    public String getCode() {
        return code;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
